import datetime


def get_sum_seconds(day=0, hour=int(datetime.datetime.now().strftime('%H')),
                    minute=int(datetime.datetime.now().strftime('%M'))):
    """
        默认值是运行时时间值
    :param day:
    :param hour:
    :param minute:
    :return:
    """
    return day * 24 * 60 * 60 + hour * 60 * 60 + minute * 60


while True:
    print(get_sum_seconds())
